home *** CD-ROM | disk | FTP | other *** search
/ DC CD-ROM Comic Book: Batman - Partners in Peril / DC CD-ROM Comic Book: Batman - Partners in Peril.iso / pc / help.dxr / 00004.ls < prev    next >
Encoding:
Text File  |  1996-08-20  |  3.9 KB  |  123 lines

  1. on exitFrame
  2.   global k
  3.   set k to 0
  4.   if rollOver(19) then
  5.     set the cursor of sprite 19 to [100]
  6.   end if
  7.   go(the frame)
  8.   if rollOver(3) then
  9.     set the cursor of sprite 3 to 3
  10.   end if
  11.   if rollOver(4) then
  12.     set the cursor of sprite 4 to 3
  13.   end if
  14.   if rollOver(5) then
  15.     set the cursor of sprite 5 to 3
  16.   end if
  17.   if rollOver(6) then
  18.     set the cursor of sprite 6 to 3
  19.   end if
  20.   if rollOver(7) then
  21.     set the cursor of sprite 7 to 3
  22.   end if
  23.   if rollOver(8) then
  24.     set the cursor of sprite 8 to 3
  25.   end if
  26.   if rollOver(47) then
  27.     set the cursor of sprite 47 to 2
  28.   end if
  29.   if rollOver(3) then
  30.     set the visible of sprite 3 to 1
  31.     repeat with i = 4 to 8
  32.       set the visible of sprite i to 0
  33.     end repeat
  34.     set the visible of sprite 21 to 1
  35.     repeat with i = 22 to 26
  36.       set the visible of sprite i to 0
  37.     end repeat
  38.   else
  39.     if rollOver(4) then
  40.       set the visible of sprite 4 to 1
  41.       set the visible of sprite 3 to 0
  42.       set the visible of sprite 5 to 0
  43.       set the visible of sprite 6 to 0
  44.       set the visible of sprite 7 to 0
  45.       set the visible of sprite 8 to 0
  46.       set the visible of sprite 22 to 1
  47.       set the visible of sprite 21 to 0
  48.       set the visible of sprite 23 to 0
  49.       set the visible of sprite 24 to 0
  50.       set the visible of sprite 25 to 0
  51.       set the visible of sprite 26 to 0
  52.     else
  53.       if rollOver(5) then
  54.         set the visible of sprite 5 to 1
  55.         set the visible of sprite 3 to 0
  56.         set the visible of sprite 4 to 0
  57.         set the visible of sprite 6 to 0
  58.         set the visible of sprite 7 to 0
  59.         set the visible of sprite 8 to 0
  60.         set the visible of sprite 23 to 1
  61.         set the visible of sprite 21 to 0
  62.         set the visible of sprite 22 to 0
  63.         set the visible of sprite 24 to 0
  64.         set the visible of sprite 25 to 0
  65.         set the visible of sprite 26 to 0
  66.       else
  67.         if rollOver(6) then
  68.           set the visible of sprite 6 to 1
  69.           set the visible of sprite 3 to 0
  70.           set the visible of sprite 4 to 0
  71.           set the visible of sprite 5 to 0
  72.           set the visible of sprite 7 to 0
  73.           set the visible of sprite 8 to 0
  74.           set the visible of sprite 24 to 1
  75.           set the visible of sprite 21 to 0
  76.           set the visible of sprite 22 to 0
  77.           set the visible of sprite 23 to 0
  78.           set the visible of sprite 25 to 0
  79.           set the visible of sprite 26 to 0
  80.         else
  81.           if rollOver(7) then
  82.             set the visible of sprite 7 to 1
  83.             set the visible of sprite 3 to 0
  84.             set the visible of sprite 4 to 0
  85.             set the visible of sprite 5 to 0
  86.             set the visible of sprite 6 to 0
  87.             set the visible of sprite 8 to 0
  88.             set the visible of sprite 25 to 1
  89.             set the visible of sprite 21 to 0
  90.             set the visible of sprite 22 to 0
  91.             set the visible of sprite 23 to 0
  92.             set the visible of sprite 24 to 0
  93.             set the visible of sprite 26 to 0
  94.           else
  95.             if rollOver(8) then
  96.               set the visible of sprite 8 to 1
  97.               set the visible of sprite 3 to 0
  98.               set the visible of sprite 4 to 0
  99.               set the visible of sprite 5 to 0
  100.               set the visible of sprite 6 to 0
  101.               set the visible of sprite 7 to 0
  102.             else
  103.               if rollOver(47) then
  104.                 set the visible of sprite 26 to 1
  105.                 repeat with i = 21 to 25
  106.                   set the visible of sprite i to 0
  107.                 end repeat
  108.               else
  109.                 repeat with i = 3 to 8
  110.                   set the visible of sprite i to 0
  111.                 end repeat
  112.                 repeat with i = 21 to 26
  113.                   set the visible of sprite i to 0
  114.                 end repeat
  115.               end if
  116.             end if
  117.           end if
  118.         end if
  119.       end if
  120.     end if
  121.   end if
  122. end
  123.